package Thread;

public class mythread extends Thread{
    bank b;
    public mythread(String name,bank b){
        super(name);
        this.b=b;
    }

    public void run(){
        b.getmoney(100000);
    }
}
